package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.InventoryPlanDTO;

public interface InventoryPlanService {

    List<InventoryPlanDTO> findAll(Searchable searchable);

    List<InventoryPlanDTO> findByStatus(String status);

    Page<InventoryPlanDTO> search(Pageable pageable, Searchable searchable);

    InventoryPlanDTO create(InventoryPlanDTO dto);

    InventoryPlanDTO details(Long id);

    void delete(Long id);

    InventoryPlanDTO update(Long id, InventoryPlanDTO dto);

    void issue(Long id);

    void synchronousData(String id, String rule);

    void donePlan(Long id);

}
